package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言板对象 t_message_board
 * 
 * @author ruoyi
 * @date 2024-03-05
 */
public class TMessageBoard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Long userId;

    /**  */
    @Excel(name = "")
    private String userName;

    /**  */
    @Excel(name = "")
    private String message;

    /**  */
    @Excel(name = "")
    private Integer isAnonymity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setIsAnonymity(Integer isAnonymity) 
    {
        this.isAnonymity = isAnonymity;
    }

    public Integer getIsAnonymity() 
    {
        return isAnonymity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("message", getMessage())
            .append("isAnonymity", getIsAnonymity())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
